/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const supplyRouter = {
  path: '/supply',
  component: Layout,
  redirect: 'noRedirect',
  name: '设置',
  hidden:true,
  meta: {
    title: '设置', icon: 'guide'
  },
  children: [
    {
      path: 'main',
      component: () => import('@/views/foundation/main'),
      name: '设置',
      hidden:true,
      meta: { title: '设置', icon: 'guide' }
    },
    {
      path: 'catalog',
      component: () => import('@/views/supply/catalog/catalog'),
      name: '目录',
      hidden:true,
      meta: { title: '目录', icon: 'guide' }
    },
    {
      path: 'catalog-add',
      component: () => import('@/views/supply/catalog/catalog-add'),
      name: '目录',
      hidden:true,
      meta: { title: '目录', icon: 'guide' }
    },
    {
      path: 'catalog-detail',
      component: () => import('@/views/supply/catalog/catalog-detail'),
      name: '目录',
      hidden:true,
      meta: { title: '目录', icon: 'guide' }
    },
    {
      path: 'product',
      component: () => import('@/views/supply/product/product'),
      name: '产品',
      hidden:true,
      meta: { title: '产品', icon: 'guide' }
    },
    {
      path: 'product-add',
      component: () => import('@/views/supply/product/product-add'),
      name: '产品',
      hidden:true,
      meta: { title: '产品', icon: 'guide' }
    },
    {
      path: 'product-detail',
      component: () => import('@/views/supply/product/product-add'),
      name: '产品',
      hidden:true,
      meta: { title: '产品', icon: 'guide' }
    },
    {
      path: 'business',
      component: () => import('@/views/supply/business/business'),
      name: '商家',
      hidden:true,
      meta: { title: '商家', icon: 'guide' }
    },
    {
      path: 'business-add',
      component: () => import('@/views/supply/business/business-add'),
      name: '证券',
      hidden:true,
      meta: { title: '证券', icon: 'guide' }
    },
    {
      path: 'business-detail',
      component: () => import('@/views/supply/business/business-detail'),
      name: '商家',
      hidden:true,
      meta: { title: '商家', icon: 'guide' }
    },
    {
      path: 'store',
      component: () => import('@/views/supply/store/store'),
      name: '门店',
      hidden:true,
      meta: { title: '门店', icon: 'guide' }
    },
    {
      path: 'store-add',
      component: () => import('@/views/supply/store/store-add'),
      name: '门店',
      hidden:true,
      meta: { title: '房地产', icon: 'guide' }
    },
    {
      path: 'store-detail',
      component: () => import('@/views/supply/store/store-detail'),
      name: '门店',
      hidden:true,
      meta: { title: '门店', icon: 'guide' }
    }
  ]
}

export default supplyRouter
